import { get, post } from '@/utils/methods'
import type { UserRequest,UserRequestTask,UserRequestTaskJobId } from '../types/user.d'

export  function userRequestTime(params: UserRequest) {
   return post('/schedule_message', params ); //测试接口
}
// 获取未执行的任务
export function getUnexecutedTask(params: UserRequestTask) {
  return post('/uploadtaskList', params);
}

// 取消定时任务
export function cancelTaskPamars(params: UserRequestTaskJobId) {
  return post('/cancel_schedule', params);
}